home *** CD-ROM | disk | FTP | other *** search
- All the programs in this directory sort vectors and lists.
- They use different algorithms (heap sort, merge sort, quick sort,
- etc.) and either use fixnum arithmetic (names start with "fx") or
- generic arithmetic for index compuation.
-
- Usage:
-
- (sort '(10 9 8 7 6 5 4 3 2 1) <) -> (1 2 3 4 5 6 7 8 9 10)
- (sort '#(10 9 8 7 6 5 4 3 2 1) <) -> #(1 2 3 4 5 6 7 8 9 10)
- (define foo '#(10 9 8 7 6 5 4 3 2 1))
- (sort! foo <)
- foo -> #(1 2 3 4 5 6 7 8 9 10)
-